package january.test_1_24;

import java.util.Scanner;

public class TestMain2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int[] arr = new int[4];
        int a = 0;
        int b = 0;
        int c = 0;
        for(int i = 0; i < 4; i++) {
            arr[i] = scanner.nextInt();
        }
        if((arr[0] + arr[2])% 2 != 0 || (arr[1] + arr[3]) % 2 != 0) {
            System.out.println("No");
            return;
        }
        a = (arr[0] + arr[2]) / 2;
        b = (arr[1] + arr[3]) / 2;
        if(arr[3] - b < 0) {
            System.out.println("No");
            return;
        }
        c = arr[3] - b;
        System.out.print(a+" ");
        System.out.print(b+" ");
        System.out.print(c);
    }
}
